﻿using Summer.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace Summer.IService
{
    public interface IUserService:IBaseService<Users,Int32>
    {
        /// <summary>
        /// 获取用户集合
        /// </summary>
        /// <returns></returns>
        List<Users> GetUsers();

        /// <summary>
        /// 获取用户信息
        /// </summary>
        /// <param name="userId">用户id</param>
        /// <returns></returns>
        Users GetUser(int userId);
    }
}
